<!DOCTYPE html>
<html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml" xmlns:v-model="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../../js/vue/vue.js"></script>
</head>
<body>
<div id="app">
    <ul>
        <li>aa</li>
        <li>bb</li>
        <li>cc</li>
        <li>dd</li>
    </ul>

    <ul>
        <li v-for="item in arrs">{{item}}</li>
    </ul>

    <ul>
        <li v-for="(item,index) in emps">{{index}}--{{item}}</li>
        <li v-for="emp in emps">{{emp.id}}--{{emp.name}}--{{emp.age}}</li>
    </ul>
</div>
<script>
    var vue = new Vue({
        el:"#app",
        data:{
            arrs:["a","b","c","d"],
            emps:[
                {id:1,name:"小小A",age:12},
                {id:2,name:"小小B",age:14},
                {id:3,name:"小小C",age:16},
            ]
        }
    })

</script>
</body>
</html>